package com.djf.Scrm.dataRelay.dao;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@ConfigurationProperties
@Component
@Data
public class WxConfigDao {
    @Value("${wx.url}")
    private String url;
    @Value("${wx.appid}")
    private String appid;
    @Value("${wx.secret}")
    private String secret;


    @Override
    public String toString() {
        return "WxConfigDao{" +
                "appid='" + appid + '\'' +
                ", secret='" + secret + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
